# Form implementation generated from reading ui file 'src/eric7/Debugger/CallTraceViewer.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_CallTraceViewer(object):
    def setupUi(self, CallTraceViewer):
        CallTraceViewer.setObjectName("CallTraceViewer")
        CallTraceViewer.resize(462, 528)
        self.verticalLayout = QtWidgets.QVBoxLayout(CallTraceViewer)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.startTraceButton = QtWidgets.QToolButton(parent=CallTraceViewer)
        self.startTraceButton.setText("Start")
        self.startTraceButton.setObjectName("startTraceButton")
        self.horizontalLayout.addWidget(self.startTraceButton)
        self.stopTraceButton = QtWidgets.QToolButton(parent=CallTraceViewer)
        self.stopTraceButton.setText("Stop")
        self.stopTraceButton.setObjectName("stopTraceButton")
        self.horizontalLayout.addWidget(self.stopTraceButton)
        self.stopCheckBox = QtWidgets.QCheckBox(parent=CallTraceViewer)
        self.stopCheckBox.setObjectName("stopCheckBox")
        self.horizontalLayout.addWidget(self.stopCheckBox)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.resizeButton = QtWidgets.QToolButton(parent=CallTraceViewer)
        self.resizeButton.setText("Resize")
        self.resizeButton.setObjectName("resizeButton")
        self.horizontalLayout.addWidget(self.resizeButton)
        self.clearButton = QtWidgets.QToolButton(parent=CallTraceViewer)
        self.clearButton.setText("Clear")
        self.clearButton.setObjectName("clearButton")
        self.horizontalLayout.addWidget(self.clearButton)
        self.saveButton = QtWidgets.QToolButton(parent=CallTraceViewer)
        self.saveButton.setText("Save")
        self.saveButton.setObjectName("saveButton")
        self.horizontalLayout.addWidget(self.saveButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.callTrace = QtWidgets.QTreeWidget(parent=CallTraceViewer)
        self.callTrace.setAlternatingRowColors(True)
        self.callTrace.setExpandsOnDoubleClick(False)
        self.callTrace.setObjectName("callTrace")
        self.verticalLayout.addWidget(self.callTrace)

        self.retranslateUi(CallTraceViewer)
        QtCore.QMetaObject.connectSlotsByName(CallTraceViewer)
        CallTraceViewer.setTabOrder(self.startTraceButton, self.stopTraceButton)
        CallTraceViewer.setTabOrder(self.stopTraceButton, self.stopCheckBox)
        CallTraceViewer.setTabOrder(self.stopCheckBox, self.resizeButton)
        CallTraceViewer.setTabOrder(self.resizeButton, self.clearButton)
        CallTraceViewer.setTabOrder(self.clearButton, self.saveButton)
        CallTraceViewer.setTabOrder(self.saveButton, self.callTrace)

    def retranslateUi(self, CallTraceViewer):
        _translate = QtCore.QCoreApplication.translate
        CallTraceViewer.setWindowTitle(_translate("CallTraceViewer", "Call Trace"))
        self.startTraceButton.setToolTip(_translate("CallTraceViewer", "Press to start tracing calls and returns"))
        self.stopTraceButton.setToolTip(_translate("CallTraceViewer", "Press to stop tracing calls and returns"))
        self.stopCheckBox.setToolTip(_translate("CallTraceViewer", "Select to stop recording the call trace when the client exits"))
        self.stopCheckBox.setText(_translate("CallTraceViewer", "Stop recording on exit"))
        self.resizeButton.setToolTip(_translate("CallTraceViewer", "Press to resize the columns to their contents"))
        self.clearButton.setToolTip(_translate("CallTraceViewer", "Press to clear the call trace"))
        self.saveButton.setToolTip(_translate("CallTraceViewer", "Press to save the call trace as a text file"))
        self.callTrace.headerItem().setText(1, _translate("CallTraceViewer", "From"))
        self.callTrace.headerItem().setText(2, _translate("CallTraceViewer", "To"))
